import { reactive } from "../../reactive";

const obj = { a: 1 };

const arr = reactive([1, obj, 3]);

// case 1
// console.log(arr.includes(obj)); // true
// console.log(arr.indexOf(obj));

// case 2
// arr[5] = 4; // 没有触发length属性的set

// case 3
// arr.length = 2; // 没有触发 delete arr[2]的拦截

// case 4
arr.push(5);
